﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000A3 RID: 163
	internal class Int32Int32 : IInt32Decoder
	{
		// Token: 0x0600029A RID: 666 RVA: 0x0000B774 File Offset: 0x00009B74
		private Int32Int32()
		{
		}

		// Token: 0x0600029B RID: 667 RVA: 0x0000B77C File Offset: 0x00009B7C
		public int Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 5;
			return (int)bytes[offset + 1] << 24 | (int)bytes[offset + 2] << 16 | (int)bytes[offset + 3] << 8 | (int)bytes[offset + 4];
		}

		// Token: 0x040000C5 RID: 197
		internal static readonly IInt32Decoder Instance = new Int32Int32();
	}
}
